use std::process;

use clap::Parser;
use image_tiler::cli::Arguments;

fn main() {
    let arguments = Arguments::parse();

    if let Err(error) = image_tiler::run(arguments) {
        println!("application error: {error}");
        process::exit(1);
    }
}
